#include <QPainter>

#include "presentationdelegate.h"

void PresentationDelegate::paint(QPainter *painter,
        const QStyleOptionViewItem &option, const QModelIndex &index) const
{
    /* If selected... */
    if (option.state & QStyle::State_Selected)
        painter->fillRect(option.rect, option.palette.highlight());

    /* Draw a thumbnail of the slide */
}

QSize PresentationDelegate::sizeHint(const QStyleOptionViewItem &option,
        const QModelIndex &index) const
{
    return QSize(54,32); /* Just a random size */
}
